package com.tenqian.order.domain;

public enum Vip {
    VIP_1("vip1个月", "0.01", "1", 1),
    VIP_3("vip3个月", "0.01", "3", 3),
    VIP_6("vip6个月", "0.01", "6", 6),
    VIP_12("vip12个月", "0.01", "12", 12),
    VIP_24("vip24个月", "0.01", "24", 24),;

    private String name;
    private String price;
    private String code;
    private int duration;//月为单位

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    Vip(String name, String price, String code, int duration) {
        this.name = name;
        this.price = price;
        this.code = code;
        this.duration = duration;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
